* {
    margin: 0;
    padding: 0;
    border: 0;
}

.v2 .star-rate {
    position: relative;
    display: inline-block;
    color:#f5222d;
}

.v2 .star-rate::after {
    content: '★★★★★';
    position: absolute;
    top: 0;
    left: 0;
    width: 3em;
    overflow: hidden;
    transition: width 2s;
    -moz-transition: width 2s;
    -webkit-transition: width 2s;
    -o-transition: width 2s;
}